package com.wjp.banquet.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wjp.banquet.common.bean.BaseEmptyEntity;
import com.wjp.banquet.common.enums.DelFlagEnum;
import lombok.Data;

import java.util.Date;
@Data
@TableName("t_gift_money")
public class GiftMoney extends BaseEmptyEntity {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private Integer banquetId;

    private String guestName;

    private Integer giftMoney;

    private String remark;

    /**
     * @see com.wjp.banquet.common.enums.YesOrNoEnum
     */
    private Boolean isProxy;

    private Date crtTime;


    @Override
    public void fillUpToSave() {
        this.setCrtTime(new Date());
    }

    @Override
    public void fillUpToUpdate() {

    }
}
